Skip to content

logging: Move trace class definitions to uapi/logging.h#462

Merged
lgirdwood merged 1 commit intothesofproject:masterfrom
akloniex:debugability
Oct 5, 2018
Merged

logging: Move trace class definitions to uapi/logging.h#462
lgirdwood merged 1 commit intothesofproject:masterfrom
akloniex:debugability

Conversation

@akloniex
Copy link
Copy Markdown
Member

@akloniex akloniex commented Oct 4, 2018

Move definitions into header that would be shared between SOF and SOFT.
Paste SOF_ABI_VERSION into FW ready message.
Also remove unused code from uapi/logging.h.

Signed-off-by: ArturX Kloniecki arturx.kloniecki@linux.intel.com

Move definitions into header that would be shared between SOF and SOFT.
Paste SOF_ABI_VERSION into FW ready message.
Also remove unused code from uapi/logging.h.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
@akloniex akloniex requested review from lgirdwood and mmaka1 October 4, 2018 12:44

#define LOG_LEVEL_CRITICAL 1 /* (FDK fatal) */
#define LOG_LEVEL_HIGH 2 /* (FDK error) */
#define LOG_LEVEL_MEDIUM 3 /* (FDK warning) */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would we remove the log level ? I cant see where it's re-added ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lgirdwood We don't use any of the mid-level logs. Either it's critical = error, or verbose = plain trace.
After short discussion with @mmaka1 we decided to remove all unused in-between log levels.

@lgirdwood lgirdwood merged commit ec4b726 into thesofproject:master Oct 5, 2018
@akloniex akloniex deleted the debugability branch September 4, 2019 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants